﻿<!DOCTYPE html>
<html>
<head>
    <title></title>    
</head>
<body>
    <form method="post">
        <img id="captchaImage" src="/Home/GetImage" onclick="resetCaptchaImage()"/>
        <input type="text" name="CaptchaCode" />

        <input type="submit" />

        @ViewBag.IsVerified
    </form>
    <script>
    function resetCaptchaImage() {
        var img = document.getElementById("captchaImage");
        img.setAttribute("src", "/Home/GetImage?t=" + Date.now())
    }
    </script>
</body>
</html>